/*
 * Packet.h
 *
 *  Created on: Apr 4, 2011
 *      Author: trietto
 */

#ifndef PACKET_H_
#define PACKET_H_
#include <FBase.h>
#include "xmpp/util/StringUtils.h"
#include "xmpp/packet/XmppError.h"

using namespace Osp::Base;

class Packet {
public:
	Packet();
	virtual ~Packet();
public:
    String getFrom();
    String getPacketID();
    String getTo();
    void setFrom(String from);
    void setPacketID(String packetID);
    void setTo(String to);
    virtual String toXML() = 0;
private:
	String __to;
	String __from;
	String __packetID;
};

#endif /* PACKET_H_ */
